package doughnut.xc.Demo;

import lombok.Data;

/**
 * 使用hutool的导出、导出示例
 */
public class HutoolDemo {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.setName("123");
        System.out.println(dog.getName());
    }
}

@Data

class Dog extends A{
//    private String name;
}

@Data
class A {
    private String name;
    public A() {
        this.name = "DefaultName";
    }
}
